package com.day22.ex07;

public class ConverterDemo {
    public static void main(String[] args) {
        useConberter(s->Integer.parseInt(s));
        useConberter(Integer::parseInt);
    }
    private  static void useConberter(Converter c){
        int number=c.convert("666");
        System.out.println(number);
    }
}
